AssetWise System Management Console Help

Creating Datasources and Communities

After you set up the database and install AssetWise Information Integrity Server (previously "AssetWise Core Server"), you can create a datasource and a community in AssetWise System Management Console, which gets installed automatically when you install AssetWise Information Integrity Server.

  • A datasource provides the connection between the AssetWise Information Integrity Server and the database.
  • A community is a link to a specific datasource on a specific AssetWise Information Integrity Server.

First you create the datasource, then you create a community that points to that datasource on that server. Once configured, AssetWise users will then log in to their community through whichever AssetWise client they are using.

Note: While each AssetWise Information Integrity Server can have multiple datasources, there can only be one community for each datasource on a particular server.

To Create a Datasource

  1. In the Explorer pane, under the Servers node, expand your server.
  2. Right-click the Data Sources node and select Add DataSource.
  3. When Datasource Wizard opens, click Next.
  4. On the Select Database Type page, select the driver (Microsoft SQL Server or Oracle) that matches your database and click Next.

    The pages that open next depend on which driver you selected.

  5. Do one of the following:

    If you selected the SQL Server driver:

    • On the Select Server page, in the Database Server field, enter the name of or select the computer on which SQL Server is installed (or select (Local) if SQL Server is installed on this computer) and click Next.
    • On the Login Information page, enter the user name and password of the database account used to log in to the selected SQL Server instance, or if database account is a Windows account select Use Windows Authentication, and click Next.
    • On the Select Database page, select the database you created for AssetWise and click Next.

    or

    If you selected the Oracle driver:

    • On the Select Server page, in the Host String field, enter the local net service name (from the tnsnames.ora file) that connects to your Oracle instance and click Next.
    • On the Login Information page, enter the user name and password of the database account used to log in to Oracle and click Next.

  6. On the eB Data Source Name page, enter a name for the new eB datasource and click Next.

    The name of the selected database is automatically supplied as the default name for the datasource. You can keep these names the same, or you can enter a new name for the datasource.

    It is recommended that you only use letters and numbers in the datasource name, and that you do not use any special characters. While it is best to avoid all special characters, these characters in particular are known to cause problems:

    Note: % . _ < >

  7. On the Ready page, click Finish.
  8. On the Finished page, click Close.

    The new datasource is added under the Data Sources node.

  9. Select the new datasource.

    A dialog opens to inform you that the database used by this datasource needs to be updated.

  10. Click Yes.

    The datasource expands in the Explorer pane with the Database Scripts item already selected.

    In the content pane, the Core database package is already selected.

    Attention: Installing the Core database package will fail on Oracle-based datasources if Oracle Locator is not installed on the Oracle Database server. Please make sure Oracle Locator is installed on the Oracle Database server before you continue.
    Attention: Installing the Core database package will fail on SQL Server-based datasources if SQL Server CLR Types are not installed on this computer. Please make sure the CLR Types are installed before you continue. For more information, see the AssetWise Implementation Guide.
  11. In the content pane, in the Update Status section, click the link, Click to Start the Database Update.
  12. When the database update is complete, click OK.
Note: The database update creates a log file which you can review by expanding your datasource in the Explorer pane and selecting Database Logs. There should be no error messages in the log file. If upgrading, error messages may be expected due to the nature of the upgrade. If you are not sure what the error message means, file a service ticket at .
Note: You can select a datasource and click the Test Connection icon on the toolbar to verify the connection to the database. If the system fails to connect to the datasource, double-check that you are using the correct server name, database name, user name and password. If not, return to step 1 of this procedure and redo this process.

To Create a Community

  1. In the Explorer pane, expand Servers > your_server.
  2. Right-click the Communities node and select Add Community.

    The New Community Properties dialog opens.

  3. From the Application Server list, enter or select the name of the computer on which AssetWise Information Integrity Server is installed.
  4. From the Authentication list, select either Basic Sign-on or Basic Sign-On (Over Web).
    Note: While the list contains all possible authentication modes, only Basic Sign-On or Basic Sign-On (Over Web) are valid options in a new community. Once the community is configured and additional user accounts are added, you can come back and modify the community's properties and change the type of authentication this community will use to communicate with services.
  5. From the Datasource list, select the name of a datasource running on the server selected in the Application Server field.
    Tip: If you just created a new datasource but have not yet updated the database, the datasource will not display in the list.
  6. In the Service Login Information section, enter the credentials of the default AssetWise administrator account (ADMIN / ADMIN).
    Note: Clear the Inherit Service Identity option when creating a new community, as it does not apply to communities using Basic Sign-On or Basic Sign-On (Over Web). Once the community is configured, you can come back and modify this community's properties and turn this option on if you want to allow services to use their own login information, which is defined in the individual service properties.
  7. Click OK.

    The Admin Password Change dialog opens for you to log in to the selected datasource.

    Note: The password length must be more than 6 characters, and must not be identical to the username.
  8. Enter a new password for the AssetWise ADMIN user, and then click OK.

    The new community is added under the Communities node.

    Important: Change the password for the default administrator account in AssetWise Director. After changing this password, you will need to return to AssetWise System Management Console, change the saved password for this community, and restart Service Manager. See To Update the Saved Password for a Community in AssetWise System Management Console.

    You can now expand the community in the Explorer pane and configure it as needed.

To Update the Saved Password for a Community in AssetWise System Management Console

After changing the default administrator password in AssetWise Director, you need to open AssetWise System Management Console on each AssetWise server where this community has been added, change the saved password for the community, and restart Service Manager.
  1. Open AssetWise System Management Console (Start > Bentley > eB System Management Console).
  2. In the Explorer pane, expand Servers > your_server and select the Communities node.
  3. In the Communities list, right-click your community and select Properties.
  4. Change the saved password and click OK.
  5. In the Explorer pane, select the Service Manager node and restart Service Manager.

To Specify a Database Failover Server for SQL Server Database Mirroring

AssetWise supports SQL Server database mirroring, where there is a principle database (the production database) running on a principle database server, and a mirror database (a copy of the principle database) running on a mirror database server. If you want to use SQL Server database mirroring with AssetWise, you need to specify (in the datasource settings in AssetWise System Management Console) the name of the mirror database server. This lets AssetWise know which database server to use as the failover server in case the principle database server shuts down.

  1. In AssetWise System Management Console, in the Explorer pane, expand Servers > your_server > Data Sources and select your datasource.
  2. In the Content pane, on the Settings tab, in the DB Failover Server field, enter the name of the mirror database server.
  3. Click the Save icon to save your changes.
  4. Restart Service Manager.

To Specify Licensing Identifiers for a Datasource

AssetWise reports counts of key information assets to reflect the current subscription model to allow confirmation of license band. The subscription band is determined based on active objects in AssetWise schema for billing purposes. The following identifiers must be configured to enable subscription band reports:
  • Ultimate Id: This setting is the identifier of the Organization that this database belongs to, and who will be billed
  • Site Id: This setting is the ID of the Organization or Account that usage will be recorded against, for licensing purposes.

Follow these steps to specify the licensing identifers:

  1. In AssetWise System Management Console, open the Explorer pane.
  2. Expand the Servers node in the tree, and then locate your server name, then expand its Data Sources node, and then select your datasource.
  3. In the Content pane, select the Licensing tab. For example,
  4. Enter the Ultimate Id and Site Id, and then click Save.
  5. Restart the Service Manager.
The licencing identifiers are updated.

To Migrate Work Orders to Tasks

You can convert work order information such as Work Orders into Tasks. Although Tasks currently have the same capabilities as Work Orders, the purposes for converting to Tasks are twofold:
  1. Tasks can be exposed within other applications, such as the Task inbox in PlantSight for example, and,
  2. The data model behind the Task object is more flexible, and the long term plan is to move all users to Tasks. Although Work Orders will continue to be supported, further enhancements to workflow capabilities will be applied to Tasks only.

The migration process converts all Work Orders, Work Tasks, and all related data such as classes, templates, attributes, relationships, and all audit details except for: Securities – "FromState" and "ToState", and WorkOrders – "Left" and "Right"), into Tasks, and then the Work Orders and Work Tasks are automatically deleted. Your migration's status appears in the Output box.

Important: Back up your database prior to performing a migration, because once the migration has started it cannot be canceled, and data cannot be reverted.

Follow these steps to migrate Work Order data into Tasks.

  1. In the Explorer tree, navigate to and select the datasource for which you want to migrate work orders into tasks.
  2. Select the Migrations tab.
  3. In the Migration list, ensure that WorkOrder to Task is selected.
  4. Click Run.The migration begins. If the migration encounters an issue, a confirmation dialog box appears. For example,

    The final status of the migration appears in the Output box.

When completed, all Work Order related data is converted to Tasks, and the Work Order data is automatically deleted from the database.

Setting Global Datasource Options

There are some global datasource options that you can apply to all datasources of a particular server.

To access these options, do the following:

  1. In the Explorer pane, expand Servers > your_server.
  2. Select the Data Sources node, then from the DataSources menu select Options.

    The Global Datasource Options dialog opens.

General Tab

SettingDescription
Use Data Compression Data compression is used to improve performance over networks with high latency / low bandwidth connections by compressing the data that is being sent to or retrieved from the database. The data is then decompressed when it reaches its destination. Performance improvements will be most noticeable with large amounts of data across high latency / low bandwidth connections. This setting is off by default.
Override the Default Database Command Timeout By default, any database transaction/query has 30 seconds to complete, after which it times out. Use this setting to change the default value to either shorter or longer than 30 seconds. For example, you might make it longer if you frequently get time outs from the database.
Enable Multicast Messages Used to wake up queues and signal other changes over a network. Some messages respond based on the name of the server, so some networks might require fully qualified domain names in order to be broadcast.

Oracle Tab

SettingDescription
Override Statement Cache Size Used to force Oracle to close open cursors. The value must be less than the OPEN_CURSORS setting in Oracle.